home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / C / Applications / UIFlow 1.0.1 / UIFlow Source / CFDFront / Application.h next >
Encoding:
Text File  |  1991-07-02  |  1.8 KB  |  41 lines  |  [TEXT/MPS ]

  1. // **********************************************************************
  2. //    the application class.
  3. // **********************************************************************
  4. class TTestApplication : public TApplication
  5.     {
  6.     public:
  7. // ----------------------------------------------------------------------------------------------------
  8. //    the methods
  9. // ----------------------------------------------------------------------------------------------------
  10.         pascal struct TDocument *DoMakeDocument(CmdNumber itsCmdNumber);            // make a new document
  11.         pascal void ITestApplication(OSType itsMainFileType);                                        // initialize the application
  12.         pascal void DoSetupMenus (void);                                                                        // set up the menus for this application
  13.     };
  14.  
  15.  
  16. // *********************************************************************************
  17. //     the geometry document class.
  18. // *********************************************************************************
  19. class TTestDocument : public TDocument 
  20.     {
  21.     public:
  22. // ----------------------------------------------------------------------------------------------------
  23. //    the methods
  24. // ----------------------------------------------------------------------------------------------------
  25.         pascal void DoMakeViews (Boolean);                                                                    // make the views
  26.         pascal struct TDocument * DoMakeDocument(CmdNumber);
  27.         Boolean ITestDocument(Boolean);                                                                        // set up the point fields.
  28.         pascal void DoSetupMenus (void);
  29.     };
  30.     
  31. // *********************************************************************************
  32. //     the geometry document class.
  33. // *********************************************************************************
  34. class TFilterDialog :  public TObject
  35.     {
  36.     public:
  37.         void GetMachineInfo(char *, char *, char *);
  38.         Boolean DoMachineDialog(void);
  39.     };
  40.     
  41.